﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Ccit.ClassLibrary;

namespace Ccit.SysPlat.Purview
{
    /// <summary>
    /// Description: 定义角色的菜单权限消息对象(PUR_R2)
    /// Author: tim 2010-03-04
    /// </summary>
    public class MsPurview
    {
        #region static attributes
        /// <summary>
        /// 程序集名称
        /// </summary>
        public static string assemblyName = "Ccit.SysPurview.dll";
        /// <summary>
        /// 类名
        /// </summary>
        public static string className = "Ccit.SysPlat.Purview.Purview";
        #endregion


        #region public attributes
        /// <summary>
        /// 角色Id
        /// </summary>
        public string roleId { get; set; }

        /// <summary>
        /// 菜单Id
        /// </summary>
        public string menuId { get; set; }
        
        /// <summary>
        /// 菜单范围标志
        /// </summary>
        public string rangeSign { get; set; }

        /// <summary>
        /// 自定义范围类型
        /// </summary>
        public eSysRangeType custRangeType { get; set; }

        /// <summary>
        /// 自定义范围
        /// </summary>
        public string custRangeIds { get; set; }
        #endregion

        #region public extend attributes
        /// <summary>
        /// 自定义范围名称
        /// </summary>
        public string custRangeNames { get; set; }
        #endregion

        #region public extend attributes

        /// <summary>
        /// 是否需要进行范围设置
        /// </summary>
        public eTrueFalse isRangeSet { get; set; }
        #endregion

        #region constructor
        /// <summary>
        /// 默认构造函数
        /// </summary>
        public MsPurview() { }
        #endregion
    }
}
